/**
 * Created by JustBamboo on 2017/9/13.
 */
import {postRequest, getRequest} from '@/common/request'
import {urls} from './url'

const sysInfoApis = urls.sysInfo

function listSysSetting(success, complete) {
  getRequest(sysInfoApis.listSysSetting, {}, success, complete)
}

function updateSettingInfo(param, success, complete) {
  postRequest(sysInfoApis.updateSettingInfo, {}, param, success, complete)
}


export default {
  listSysSetting,
  updateSettingInfo
}
